package demo;

public class Demo03 {
    public static void main(String[] args) {
        int n = -3;
        System.out.println(Integer.toBinaryString(n));

        int max = Integer.MAX_VALUE;
        int min = Integer.MIN_VALUE;
        System.out.println(Integer.toBinaryString(max));
        System.out.println(Integer.toBinaryString(min));

        long lmax = Long.MAX_VALUE;
        long lmin = Long.MIN_VALUE;
        System.out.println(Long.toBinaryString(lmax));
        System.out.println(Long.toBinaryString(lmin));

        /*
        for(int i=-200;i<0;i++){
            System.out.println(Integer.toBinaryString(i));

        }

         */
    }
}
